package com.dex4d.ui.mine.activity;

import android.view.View;

import com.dex4d.R;
import com.dex4d.core.AppToolBarBaseActivity;
import com.dex4d.widgets.SimpleListItem;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * Created by chengyuchun on 2018/11/6.
 */
public class AuthorityActivity extends AppToolBarBaseActivity {
    @BindView(R.id.sli_referral)
    SimpleListItem sli_referral;

    @Override
    protected void initToolbar() {
        showTitle(getString(R.string.authority));
        showBackView();
    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_authority;
    }

    @Override
    protected void initVariables() {

    }

    @Override
    protected void loadData() {

    }

    @OnClick({R.id.sli_referral,R.id.sli_swap})
    public void onViewClick(View view){
        switch (view.getId()){
            case R.id.sli_referral:
                openActivity(AuthorityReferralActivity.class);
                break;
            case R.id.sli_swap:
                openActivity(AuthoritySwapActivity.class);
                break;
        }

    }
}
